package org.micro.alibaba.consumer.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.micro.alibaba.common.domain.User;
import org.micro.alibaba.consumer.mapper.UserMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author keven
 * @date 2025-06-25 7:03 下午
 * @Description
 */
@Service
@Slf4j
public class UserService extends ServiceImpl<UserMapper, User> {

    public List<User> list() {
        return baseMapper.selectList(new LambdaQueryWrapper<>());
    }

}
